{extend name="./template/default/pc/pub/base.html" /}
{block name="seo"}
<title>最新书单-{$site_name}</title>
{/block}
{block name="content"}
<section class="box container pb40 overflow-Show js_update_mh_list" style="min-height:800px;margin-top: 20px;">
    <header class="box-header"> <i class="icon icon-date" style="width:30px;"> <span class="number">30</span> </i>
        <h1>最新书单</h1>
        <small>
            推荐了
            <span class="color-main" id="daykeyupdatecount">{$page.total}</span><span id="daykeycontent">本</span>
        </small>
    </header>
    <div class="box-body">
        <ul class="mh-list col7" id="update_30">
            {volist name="tails" id="vo"}
            <li>
                <div class="mh-item">
                    <a href="/pc/tails/{$vo.id}" title="{$vo.tailname}">
                        <p class="mh-cover" style="background-image: url({$vo.book.cover_url})"></p>
                    </a>
                    <div class="mh-item-detali">
                        <h2 class="title">
                            <a href="/pc/tails/{$vo.id}" title="{$vo.tailname}" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
                                {$vo.tailname}
                            </a>
                        </h2>
                        <p class="zl">
                            <span>评分:</span>
                            <span class="mh-star-line star-5"></span>
                        </p>
                        <p class="chapter" style="width: 181px;">
                            {$vo.book.summary}
                        </p>
                    </div>
                </div>
            </li>
            {/volist}
        </ul>
    </div>
    <footer>
        <div class="page-pagination mt20">
            <ul>
                <div class="pagination">
                    {if $page.last_page > 1}
                    {if $page.current_page == 1}
                    <li><a>&lt;</a></li>
                    {else/}
                    <li><a id="prevPage" href="/pc/{$booklist_act}?page={$page.current_page-1}{$param}" title="上一页">&lt;</a></li>
                    {/if}

                    {for start="1" end="$page.last_page + 1"}
                    {if $i == $page.current_page }
                    <li><a href="/pc/tailist?page={$i}{$param}" class="active">{$i}</a></li>
                    {elseif ($i > $page.current_page - 4 && $i < $page.current_page + 5)/}
                    <li><a href="/pc/tailist?page={$i}{$param}" title="第{$i}页">{$i}</a></li>
                    {/if}
                    {/for}

                    {if $page.current_page == $page.last_page}
                    <li><a>&gt;</a></li>
                    {else/}
                    <li><a id="nextPage" href="/pc/{$booklist_act}?page={$page.current_page+1}{$param}" title="下一页">&gt;</a></li>
                    {/if}
                    {/if}
                </div>
            </ul>
        </div>
    </footer>
</section>
{/block}